package com.jcode222.service;

import com.jcode222.entity.Order;

import java.util.List;


/**
 * @author pdai
 */
public interface IOrderService {

    List<Order> findList(Order order);

    Order findById(Long id);

    int deleteById(Long id);

    int deleteByIds(Long[] ids);

    int update(Order order);

    int save(Order order);

    void createOrder(Order order);

    void createOrderTransaction(Order order);

    void createOrderTransactionException(Order order);
}
